from django.contrib import admin
from .models import Entry
# Register your models here.
@admin.register(Entry)
class EntryAdmin(admin.ModelAdmin):
    actions_on_bottom = True
    actions_on_top = True
    list_per_page = 30
    list_display = ('code',  'log_at','logger','level','message' ,'stacktrace')
    list_filter = ('code', 'log_at','logger','level' )    
    search_fields = ['message', ]